package com.cnt.service;

import com.cnt.entity.ActivityFund;
import com.cnt.entity.FundRaise;
import com.cnt.entity.RequestRelief;
import com.cnt.vo.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public interface FundService {

    public ResultVo<String> donation(FundRaise fundRaise);

    public ResultVo<ActivityFund> getActivityFund(Integer activityFundId);

    public ResultVo<List<FundRaise>> getFundRaise(Integer userId);

    public ResultVo<List<RequestRelief>> getRequestReliefList(Integer userId);

    public ResultVo<String> createRequest(RequestRelief requestRelief);

    public InputStream downloadUsedFile(Integer requestReliefId);

    public ResultVo<String> uploadUsedFile(Integer requestReliefId, MultipartFile usedFile);

    public ResultVo<String> uploadActivityFundImage(Integer activityFundId, MultipartFile file);

    public ResultVo<String> examineRequestFund(RequestRelief requestRelief);

    public ResultVo<List<RequestRelief>> getMyRequestReliefList(Integer userId);

    public ResultVo<List<Object>> getUserNumbers();

    public ResultVo<List<Object>> getAdminNumbers();
}
